package top.dingwen.io.treasure.sensitive.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import top.dingwen.io.treasure.mybatisplus.core.entity.BaseEntity;
import top.dingwen.io.treasure.sensitive.constant.WordsType;

/**
 * 敏感词实体
 *
 * @author dingwen
 * @since 2024/11/21 09:20
 */
@TableName(value = "tre_s_sensitive_words")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class SensitiveWords extends BaseEntity {
    /**
     * 敏感词内容
     */
    @TableField
    private String wordsContent;

    /**
     * 敏感词类型
     */
    @TableField
    private WordsType wordsType;
}
